<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<x:parse xml="${param.xmlstr}" var="xmlData" />
     <c:set var="statYear1"><x:out select="$xmlData/data/proposal/stat_year" /></c:set>
     <div class="t_bar">单位近三年财务状况（单位：万元）</div>
     <table width="100%" border="0" cellpadding="0" cellspacing="1" id='ftable' class="t_css">
	     <tr class="t_tr">
	         <td align="center" width="30%">项目类别</td>
	         <td align="center" width="23%">前年（${statYear1-2}）年<br><x:out select="$xmlData/data/budget/invest_detail/audit_1_name" />审计</td>
	         <td align="center" width="23%">上一年（${statYear1-1}）年<br><x:out select="$xmlData/data/budget/invest_detail/audit_2_name" />审计</td>
	         <td align="center" width="23%">本年度（${statYear1}）年<br><x:out select="$xmlData/data/budget/invest_detail/audit_3_name" />审计</td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;<span class='color_red'>*</span>总收入
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='00']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='00']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='00']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        		  <span class='color_red'>*</span>其中主营业务收入
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='01']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='01']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='01']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        	      &nbsp;&nbsp;<span class='color_red'>*</span>主营业务收入增长率（％）
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='01']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='01']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='01']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        		  <span class='color_red'>*</span>其中主营业务利润
        	  </td>
        	  <td align="center">
        	       <x:out select="$xmlData/data/budget/invest_detail[@budget_code='02']/before_invest" /> 
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='02']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='02']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        	      &nbsp;&nbsp;<span class='color_red'>*</span>主营业务利润增长率（％）
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='03']/before_invest" />
        	  </td>
        	  <td align="center">
        	     <x:out select="$xmlData/data/budget/invest_detail[@budget_code='03']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='03']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        	      &nbsp;&nbsp;<span class='color_red'>*</span>产品销售总额
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='04']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='04']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='04']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        	      &nbsp;&nbsp;<span class='color_red'>*</span>经营活动现金流量净额
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='05']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='05']/previous_invest" />
        	  </td>
        	  <td align="center">
        	     <x:out select="$xmlData/data/budget/invest_detail[@budget_code='05']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        	      &nbsp;&nbsp;<span class='color_red'>*</span>经营活动现金流入总额
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='06']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='06']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='06']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        	      &nbsp;&nbsp;<span class='color_red'>*</span>经营活动现金流出总额
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='07']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='07']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='07']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        	      &nbsp;&nbsp;<span class='color_red'>*</span>纳税总额
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='08']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='08']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='08']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        		  <span class='color_red'>*</span>企业所得税
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='09']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='09']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='09']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        		  <span class='color_red'>*</span>增值税
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='10']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='10']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='10']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        		  <span class='color_red'>*</span>营业税
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='11']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='11']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='11']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        		  <span class='color_red'>*</span>个人所得税
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='12']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='12']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='12']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        		  <span class='color_red'>*</span>其他税
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='13']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='13']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='13']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;
        		  <span class='color_red'>*</span>创汇总额（万美元）
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='14']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='14']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='14']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;
        		  <span class='color_red'>*</span>研发经费支出总额
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='15']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='15']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='15']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;
        		  <span class='color_red'>*</span>总支出
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='16']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='16']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='16']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;
        		  <span class='color_red'>*</span>固定资产总额
        	  </td>
        	 <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='17']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='17']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='17']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;
        		  <span class='color_red'>*</span>总资产
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='17']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='17']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='17']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;
        		  <span class='color_red'>*</span>负债总额
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='18']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='18']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='18']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;
        		  <span class='color_red'>*</span>资产负债率（％）
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='19']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='19']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='19']/now_invest" />
        	  </td>
          </tr>
          <tr >
        	  <td>
        		  &nbsp;&nbsp;
        		  <span class='color_red'>*</span>产权比率（％）
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='20']/before_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='20']/previous_invest" />
        	  </td>
        	  <td align="center">
        	      <x:out select="$xmlData/data/budget/invest_detail[@budget_code='20']/now_invest" />
        	  </td>
          </tr>
      </table>
      
<br>      
<div class="t_bar"><span class="color_red">*</span>主要产品情况</div>
<table class="table01" width="100%" border="0" cellpadding="0"
	id="tblProduct" cellspacing="1">
    <thead>
		<tr>
			<th class="TblHead" align="center" width="10%">序号</th>
			<th class="TblHead" align="center" width="40%">主要产品名称 </th>  
			<th class="TblHead" align="center" width="20%">是否具有自主知识产权 </th>
			<th class="TblHead" align="center" width="20%">占企业销售收入总额比例（%） </th>
		</tr>
			</thead>
			<tbody id="tab">
					<x:forEach select="$xmlData/data/products/product" var="product">
					<c:choose>
						<c:when test="${index<10}" >
						<c:set value="0" var="flag" scope="page"/>
						</c:when>
						<c:otherwise>
						<c:set value="" var="flag" scope="page"/>
						</c:otherwise>
					</c:choose>
					<tr>
						<td style="text-align:center;">${index+1}
						</td>
						<td ><x:out select="$product/name" />&nbsp;
						</td>
						<td style="text-align:center;">
							<x:out select="$product/flag_name" />&nbsp;
						</td>
						<td style="text-align:center;"><x:out select="$product/proportion" /> &nbsp;
						</td>
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
				</tbody>
			</table>
			<br> 
<div class="t_bar">上年度具有自主知识产权产品经营情况（单位：万元）</div>
<table class="t_css" id='ftable1' width="100%" border="0" cellpadding="0" cellspacing="1" >
	<tr >
		<td nowrap align="right"  width="120px"><span class="color_red">*</span>产品销售收入：</td>
		<td nowrap colspan="1"><x:out select="$xmlData/data/knowledges/product_sale" /></td>
		<td nowrap align="right"  width="120px"><span class="color_red">*</span>净利润：</td>
		<td nowrap colspan="1"><x:out select="$xmlData/data/knowledges/profit" /></td>
	</tr>
	<tr >
		<td nowrap align="right"><span class="color_red">*</span>纳税总额：</td>
		<td nowrap colspan="1"><x:out select="$xmlData/data/knowledges/total_tax" /></td>
		<td nowrap align="right"><span class="color_red">*</span>增值税总额：</td>
		<td nowrap colspan="1"><x:out select="$xmlData/data/knowledges/vat" /></td>
	</tr>
</table>
<script type="text/javascript">

$(function() {
	$("#ftable tr:even").addClass("li_1");
	$("#ftable tr:odd").addClass("li_2");
	$("#tblProduct tr:even").addClass("li_1");
	$("#tblProduct tr:odd").addClass("li_2");
	$("#ftable1 tr:even").addClass("li_1");
	$("#ftable1 tr:odd").addClass("li_2");
});

</script>
